<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:choose>
<c:when test="${requestScope.method=='id' }">
<h1>아이디 찾기</h1>
<form id= "suchNameF" action="${initParam.root }/suchMember.do" >
SSN : <input type="password" name="ssn"><br>
<input type="hidden" name="method" value="id">
<input type="submit" value="찾기">
</form>
</c:when>
<c:otherwise>
<h1>패스워드 찾기</h1>
<form id= "suchPasswordF" action="${initParam.root }/suchMember.do" >
ID : <input type="text" name="id"><br>
SSN : <input type="password" name="ssn"><br>
<input type="hidden" name="method" value="password">
<input type="submit" value="찾기">
</form>
</c:otherwise>
</c:choose>

</body>
</html>